<?php session_start(); ?>
<html>
<head>
<title>Privr - Private Messaging for Everyone</title>
<script type="text/javascript">
	<!--
	if (location.href.indexOf('https') == -1) {
		window.location='https://secure719.hostgator.com/~sixty06/privr/';
	}
	
	-->

</script>
<script language="javascript" src="javascript/ajax_login.js">/* Login Ajax Client Side */</script>
<script language="javascript" src="javascript/sha1.js">/* SHA-256 JavaScript implementation */</script>
<script language="javascript" src="javascript/utf8.js">/* UTF-8 encoding */</script>
<script language="javascript" src="javascript/cookie.js">/* Cookie Management */</script>
<script language="javascript" src="javascript/token.js">/* Token Creation */</script>
<link href="login.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id=container name=container>
<table cellspacing=25 cellpadding=25>
	<tr>
	<td valign="top">
		<h1>Privr</h1>
		<h2>What is Privr?</h2>
		<p>Sometimes you need to keep secrets. Internet sites, companies and services are <i>bad</i> at keeping secrets.</p>
		<p>But you have to communicate.  What if there was a way to communicate with others - but you kept the privacy keys?</p>
		<p>That's just what Privr does.  We don't hold your private message decrypter keys, we hold your encrypted messages.</p>
		<br>
		<p><h2>How do I get started?</h2>
		<p>1. Register an account - use our little link below.</p>
		<p>2. Create a group</p>
		<p>3. Invite other Privr registered users to your group.</p>
		<p>4. Profit?</p>
		<p><a href="register.php">Register Here</a></p>
	</td>
	<td valign="top">
		<form name="loginform" onsubmit="return ajax_login();">
		<table border="0" bgcolor="#eeeeee" cellspacing="5" cellpadding="5" width="300">
			<tr>
			<td align="left" colspan="2" width="300"><p>Login</p></td>
			</tr><tr>
			<td align="right" width="81"><p>User Name:</p></td>
			<td width="184"><input type="text" name="username" id="user" size="20" value="" /></td>
			</tr><tr>
			<td align="right" width="81"><p>Password:</p></td>
			<td width="184"><input type="password" name="password" size="20" value="" /></td>
			</tr><tr>
			<td colspan="2" align="center" width="275"><input type="button" name="a1" value="Login" onclick="call_login();"><br></td>
			</tr>
		</table>
		</form>
			<table border="0" bgcolor="#eeeeee" cellspacing="5" cellpadding="5" width="300">
			<tr>
			<td align="left" colspan="2" width="300">
			<p>All Privr services are currently online.</p>
			<p>Currently accepting beta testers.  Please register!</p>
			</td></tr>
			</tr><tr>
			<td colspan="2" align="center" width="275"><p><a href="register.php">Register Here</a></p></td>
			</tr>
		</table>
	</td>
	</tr>
</table>
</div>

</body>
</html>